import React, { Component } from 'react'
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap';
import './Header.scss'
import { HashRouter as Router, NavLink, Redirect, Switch, Route } from 'react-router-dom'
export default class Header extends Component {
    render() {
        return (
            <div>
                <div className="row">
                    <div className="col-md-7" id='header1'>
                        cnode <input type="text" />
                    </div>
                    <div className="col-md-5" id='header2'>
                        <ul>
                            <li><NavLink to='/Home'>首页</NavLink></li>
                            <li><NavLink to='/Entry'>新手入门</NavLink></li>
                            <li><NavLink to='/Abbr'>API</NavLink></li>
                            <li><NavLink to='/About'>关于</NavLink></li>
                            <li><NavLink to='/Register'>注册</NavLink></li>
                            <li><NavLink to='/Login'>登陆</NavLink></li>
                        </ul>
                    </div>
                </div>
            </div>
        )
    }
}
